package com.cm.course.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author xdf
 * @date 2023-06-21
 * 题目性质表
 */
@TableName(value ="question_property")
@Data
public class QuestionProperty implements Serializable {
    /**
     * 题目id
     */
    @TableId(value = "id")
    private Integer id;

    /**
     * 题目答案
     */
    @TableField(value = "question_answer")
    private String questionAnswer;

    /**
     * 题目知识点
     */
    @TableField(value = "kwonledge_point")
    private String kwonledgePoint;

    /**
     * 题目难易度
     */
    @TableField(value = "question_difficulty")
    private Integer questionDifficulty;

    /**
     * 题目所在课程的章节
     */
    @TableField(value = "question_chapter")
    private String questionChapter;

    /**
     * 题目出错率
     */
    @TableField(value = "error_rate")
    private Double errorRate;

    /**
     * 题目易错点
     */
    @TableField(value = "error_prone")
    private String errorProne;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
